import request from '@/utils/request'
// 获取验证码
export function getImgCode (clientToken) {
  return request.get(`/user-service/user/imageCode/${clientToken}`, {
    responseType: 'blob'
  })
}
// 封装登录接口
export const login = (data) => request.post('/user-service/user/login', data)
// 封装管理员信息接口
export const user = (id) => request.get(`/user-service/user/${id}`)

export function logout () {

}
